<%--
/**
 * Licensed to Open-Ones Group under one or more contributor license
 * agreements. See the NOTICE file distributed with this work
 * for additional information regarding copyright ownership.
 * Open-Ones Group licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a
 * copy of the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ page import="oog.product.Cons" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Product - Logon</title>
</head>
<body>

<form action="Logon.do" method="POST">
  <jsp:include page="header.jsp"/>
    <table align="center" border="0" cellpadding="0" cellspacing="0">
        
        <!--  Display error if any -->
        <c:if test="${not empty errors}">
          <tr>
            <td colspan="2">
                <b><font color="red">
                  <c:forEach var="errMsg" items="${errors}">
                    ${errMsg}<br/>
                  </c:forEach>
                </font></b>
            </td>
          </tr>
        </c:if>
        <tr>
            <td>Email(*):
            </td>
            <td><input name="email" style="width: 150px" value="${form.email}" maxlength="30"/></td>
        </tr>
        <tr height="25">
            <td>Password(*):</td>
            <td><input type="password" style="width: 150px" name="password" value="${form.password}" maxlength="30"/></td>
        </tr>
        
        <tr>
            <td colspan="2">
            <br/><i>(Password must contain at least <br/> an upper character, 1 digit and length > 6)</i>
            </td>
        </tr>
        <tr height="5">
            <td colspan="2">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="cmd" value="Logon"/>
            </td>
        </tr>
    </table>
</form>
</body>
</html>